package com.telit.firecommand.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.telit.firecommand.entity.CommMsgPushReceiver;

import java.util.List;


/**
 * @Auther amy
 * @Describe
 */
public interface MsgPushReceiverService {

    /**
     * 分页查询
     * @param current
     * @param size
     * @param receiverName
     * @return
     */
    IPage<CommMsgPushReceiver> listByPage(Integer current, Integer size, String receiverName);

    int add(CommMsgPushReceiver commMsgPushReceiver);

    int update(CommMsgPushReceiver commMsgPushReceiver);

    int deleteBatch(List<Long> ids);

    /**
     * 查询手机号
     * @return
     */
    List<String> selectMobileListByType();
}
